class UnknownNodeException(RuntimeError):
    def __init__(self, name):
        RuntimeError.__init__("There is no node named " + name)

class InvalidProbability(Exception):
    pass
